package com.uff.hmstpa.model.domain.entity;

import com.uff.hmstpa.model.domain.valueobject.Schedule;

public class AbstractDoctor {
    private String specialty;
    private String CRM;
    private String name;
    private Schedule schedule;

    public AbstractDoctor() {
    }

    public AbstractDoctor(String specialty, String CRM, String name, Schedule schedule) {
        this.specialty = specialty;
        this.CRM = CRM;
        this.name = name;
        this.schedule = schedule;
    }   

    public String getCRM() {
        return CRM;
    }

    public void setCRM(String CRM) {
        this.CRM = CRM;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Schedule getSchedule() {
        return schedule;
    }

    public void setSchedule(Schedule schedule) {
        this.schedule = schedule;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }  
    
}
